@font-face {
    font-family: 'Segoe';
    src: url('SegoeUI.eot');
    src: local('☺'),
         url('SegoeUI.woff') format('woff'),
         url('SegoeUI.ttf') format('truetype'),
         url('SegoeUI.svg#gfhd4') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SegoeBold';
    src: url('SegoeUIBlack.eot');
    src: local('☺'),
         url('SegoeUIBlack.woff') format('woff'),
         url('SegoeUIBlack.ttf') format('truetype'),
         url('SegoeUIBlack.svg#gfhd4') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SegoeLight';
    src: url('SegoeUI-Light.eot');
    src: local('☺'),
         url('SegoeUI-Light.woff') format('woff'),
         url('SegoeUI-Light.ttf') format('truetype'),
         url('SegoeUI-Light.svg#gfhd4') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
	margin: 0;
	padding: 0;
}

body {
	padding: 50px;
}

h1 {
	font-family: "SegoeBold";
	font-weight: normal;
	font-size: 34px;
	margin: 15px 0;
}

h2 {
	font-family: "SegoeBold";
	font-weight: normal;
	font-size: 24px;
	margin: 10px 0;
}

h3 {
	font-family: "SegoeBold";
	font-weight: normal;
	font-size: 18px;
	margin-bottom: 10px;
}

.main p {
	font-family: "SegoeLight";
	margin: 5px 0;
	color: #666666;
}

.loader {
	width: 220px;
	height: 220px;
	background: url(http://messenger/maket_css/circle_loader.png) center center no-repeat;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -110px;
	margin-top: -110px;
	background-size: 100%;
	opacity: 0.5;
	-ms-transform: rotate(2deg); /* IE 9 */
	-webkit-transform: rotate(2deg); /* Chrome, Safari, Opera */
	transform: rotate(2deg);
}

.bg {
	background: white;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	opacity: 0.9;
}
.progress {
	width: 0;
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	background: black;	
}

button.button {
	min-width: 130px;
	overflow: hidden;
	height: 50px;
	border: none;
	cursor: pointer;
	outline: none;
	margin: 10px 0;
}

button.button:active {
	min-width: 120px;
	height: 46px;
	margin-top: 0px;
	margin-bottom: 25px;
	margin-right: 5px;
	margin-left: 5px;

}

button.button:active p span {
	margin-right: 10px;
	width: 25px;
	height: 25px;
	background-size: 100%;
	display: block;
}

button.button:active p {
	font-size: 14px;
	padding: 10px 10px;
	display: inline-flex;
	line-height: 25px;
	margin: 0;
	font-family: 'SegoeLight';
}


button.button p {
	color: white;
	font-size: 16px;
	padding: 10px 10px;
	display: inline-flex;
	line-height: 30px;
	margin: 0;
	font-family: 'SegoeLight';
}

button.button p span {
	margin-right: 10px;
	width: 30px;
	height: 30px;
	background-size: 100%;
	display: block;
}

span.icoCheck {
	background: url(http://messenger/maket_css/icoCheck.png) center center no-repeat;
}

span.icoCancel {
	background: url(http://messenger/maket_css/icoCancel.png) center center no-repeat;
}

span.icoNext {
	background: url(http://messenger/maket_css/icoNext.png) center center no-repeat;
}

span.icoBack {
	background: url(http://messenger/maket_css/icoBack.png) center center no-repeat;
}

span.icoRefresh {
	background: url(http://messenger/maket_css/icoRefresh.png) center center no-repeat;
}

span.icoPreference {
	background: url(http://messenger/maket_css/icoPreference.png) center center no-repeat;
}

span.icoHistory {
	background: url(http://messenger/maket_css/icoHistory.png) center center no-repeat;
}

.green {
	background: #41A85F;
	-webkit-transition-property: background;
	-webkit-transition-duration: 0.5s;
	-webkit-transition-timing-function: ease;
}

.green:hover {
	background: #61BD6D;
}

.red {
	background: #B8312F;
	-webkit-transition-property: background;
	-webkit-transition-duration: 0.5s;
	-webkit-transition-timing-function: ease;
}

.red:hover {
	background: #E25041;
}

.blue {
	background: #2969B0;
	-webkit-transition-property: background;
	-webkit-transition-duration: 0.5s;
	-webkit-transition-timing-function: ease;
}

.blue:hover {
	background: #2C82C9;
}

.orange {
	background: #F37934;
	-webkit-transition-property: background;
	-webkit-transition-duration: 0.5s;
	-webkit-transition-timing-function: ease;
}

.orange:hover {
	background: #FBA026;
}

.yellow {
	background: #FAC51C;
	-webkit-transition-property: background;
	-webkit-transition-duration: 0.5s;
	-webkit-transition-timing-function: ease;
}

.yellow:hover {
	background: #F7DA64;
}

.gray {
	background: #D1D5D8;
	-webkit-transition-property: background;
	-webkit-transition-duration: 0.5s;
	-webkit-transition-timing-function: ease;
}

.gray:hover {
	background: #EFEFEF;
}

/* COLORS FOR BOX */

.boxgreen {
	background: #41A85F;
	border-color: #61BD6D;
}

.boxred {
	background: #B8312F;
	border-color: #E25041;
}

.boxblue {
	background: #2969B0;
	border-color: #2C82C9;
}

.boxorange {
	background: #F37934;
	border-color: #FBA026;
}

.boxyellow {
	background: #FAC51C;
	border-color: #FBA026;
}

.boxgray {
	background: #D1D5D8;
	border-color: #EFEFEF;
}

div.box {
	padding: 20px;
	border-width: 1px;
	border-style: solid;
	color: white;
}

div.box p {
	color: white;	
}

div.box h3 span {
	display: block;
	min-width: 40px;
	line-height: 40px;
	float: right;
}

p.leftborder {
	border-left: #D1D5D8 solid 1px;
	padding-left: 20px; 
}

p.rightborder {
	border-right: #D1D5D8 solid 1px;
	padding-right: 20px; 
}

.w25 {
	width: 24%;
	margin: 1%;
}

.w50 {
	width: 48%;
	margin: 1%;
}

.w80 {
	width: 78%;
	margin: 1%;
}

.w75 {
	width: 73%;
	margin: 1%;
}

.w100 {
	width: 98%;
	margin: 1%;
}

div.rows {
	overflow: hidden;
}

div.rows div.w50 {
	width: 48%;
	margin: 1%;
	float: left;
}

div.rows div.w75 {
	width: 73%;
	margin: 1%;
	float: left;
}

div.rows div.w80 {
	width: 76%;
	margin: 2%;
	float: left;
}


div.rows div.w25 {
	width: 22%;
	margin: 1%;
	float: left;
}

div.rows > div.w25:last-child:after {
	content: '';
	display: block;
	clear: both;
}

table.table {
	width: 100%;
	overflow: hidden;
	border: none;
	outline: none;
}

table.table th {
	background: #2969B0;
	margin: 3px;
	height: 50px;
	font-family: "Segoe";
	font-weight: normal;
	font-size: 16px;
	color: white;
	padding: 0 10px;
}

table.table th:hover {
	background: #2C82C9;
}

table.table th button.sort {
	width: 20px;
	height: 20px;
	background: url(http://messenger/maket_css/icoSort.png) center center no-repeat;
	background-size: 100%;
	display: block;
	float: right;
	cursor: pointer;
	border: none;
	outline: none;
}

table.table th button.sort:active {
	background-size: 90%;
}

table.table th span {
	line-height: 20px;
}

table.table td {
	background: #DEDEDE;
	margin: 3px;	
	height: 30px;
	color: #666666;
	overflow: hidden;
	padding: 10px;
	text-align: center;
	font-family: "SegoeLight";
	font-size: 14px;
}

table.table tr:hover td {
	background: #EFEFEF;
	cursor: pointer;
}

table.table tr.active td {
	background: #FAC51C;
}

table.table tr.active + tr td {
	padding: 0;
	margin: 0;
}

table.table tr.active + tr td table {
	width: 100%;
	overflow: hidden;
	border: none;
	outline: none;
	background: white;
}

table.table tr.active+tr td table tr:last-child td {
	background: none;
	margin: 3px;
	height: 30px;
	color: #666666;
	overflow: hidden;
	padding: 0;
	text-align: right;
	font-size: 14px;
}

table.table tr.active+tr td table td {
	background: #F7DA64;
	margin: 3px;
	height: 30px;
	color: #666666;
	overflow: hidden;
	padding: 20px;
	text-align: center;
	font-family: "SegoeLight";
	font-size: 14px;
}


table.table th.right {
	text-align: right;
}

table.table td.right {
	text-align: right;
}

input[type='range'] {
	-webkit-appearance: none;
	background-color: #DEDEDE;
	height: 2px;
	vertical-align: middle;
	outline: none;
	width: 100%;
}

input[type='range']::-webkit-slider-thumb {
	-webkit-appearance: none;
	background: #2969B0 url(http://messenger/maket_css/icoRange.png) center center no-repeat;
	background-size: 80%;
	height: 20px;
	width: 20px;
	cursor: pointer;
}

input[type='range']::-webkit-slider-thumb:active {
	background-size: 70%;
}

input[type='text'], input[type='password'] {
	border: #D1D5D8 solid 1px;
	background: white;
	outline: none;
	height: 30px;
	color: #666666;
	padding: 10px;
	font-family: "SegoeLight";
	font-size: 14px;
}

.toolbox {
	color: white;
	height: 100%;
	position: relative;
}

.toolbox .title {
	padding: 0 20px;
	height: 50px;
	line-height: 50px;
	font-family: "Segoe";
	overflow: hidden;
}

.toolbox .title .menuRight {
	float: right;
	display: table-cell;
	vertical-align: middle;
	height: 50px;
}

.toolbox .title .menuRight a {
	float: right;
	width: 30px;
	height: 30px;
	text-decoration: none;
	line-height: 50px;
	vertical-align: middle;
}
.toolbox .title .menuRight span {
	margin-right: 10px;
	width: 30px;
	height: 30px;
	background-size: 100%;
	display: block;
}

.toolbox .desc {
	padding: 20px;
	font-family: "SegoeLight";
}

.toolbox.green .title {
	background: #41A85F;
}

.toolbox.red .title {
	background: #B8312F;
}

.toolbox.blue .title {
	background: #2969B0;
}

.toolbox.orange .title {
	background: #F37934;
}

.toolbox.yellow .title {
	background: #FAC51C;
}

.toolbox.gray .title {
	background: #D1D5D8;
}


.toolbox p {
	color: white;
	padding: 0 0 15px 0;
}

.toolbox p a {
	color: white;
	text-decoration: underline;
	padding-bottom: 0;
	padding: 5px 10px 5px 10px;
}

.toolbox p a:hover {
	text-decoration: none;
	background: #2969B0;
}

.toolbox.green {
	background: #61BD6D;
}

.toolbox.red {
	background: #E25041;
}

.toolbox.blue {
	background: #2C82C9;
}

.toolbox.orange {
	background: #FBA026;
}

.toolbox.yellow {
	background: #F7DA64;
}

.toolbox.gray {
	background: #EFEFEF;
}

.arrowRight:after {
	width: 0;
	height: 0;
	display: block;
	content: "";
	position: absolute;
	border-top: 20px solid transparent;
	border-left: 15px solid #2C82C9;
	border-bottom: 20px solid transparent;
	top: 50%;
	left: 99%;
}

ul li {
	list-style: none;
	height: 50px;
	padding: 0 10px;
	background: #2969B0;
	-webkit-transition-property: background;
	-webkit-transition-duration: 0.5s;
	-webkit-transition-timing-function: ease;

}

ul li:hover {
	background: #2C82C9;
}

ul li a {
	color: white;
	line-height: 50px;
	font-family: "SegoeLight";
	text-decoration: none;
	display: block;
}

ul li a span.counter {
	float: right;
	background: red;
	height: 20px;
	line-height: 20px;
	padding: 0 7px;
	border-radius: 15px;
	font-family: "SegoeBold";
	font-size: 10px;
	margin-top: 15px;
	border: white solid 1px;
}

span.warning {
	background: red;
	color: white;
	width: 15px;
	height: 15px;
	border-radius: 12px;
	font-family: "SegoeBold";
	font-size: 14px;
	border: none;
	line-height: 16px;
	outline: none;
	text-align: center;
	padding: 0; 
	padding-bottom: 0px;
	border: white solid 2px;
	cursor: help;
}

.document {
	cursor: pointer;
	width: 50px;
	height: 50px;
	display: block;
}

.document .icon_doc {
	background: url(http://messenger/maket_css/icon_doc.png);
	width: 40px;
	height: 40px;
	background-size: 100%;
	display: block;
	position: relative;
}

.document .icon_hands {
	background: url(http://messenger/maket_css/icon_hands.png);
	width: 40px;
	height: 40px;
	background-size: 100%;
	display: block;
	position: relative;
}

.document .icon_che {
	background: url(http://messenger/maket_css/icon_che.png);
	width: 40px;
	height: 40px;
	background-size: 100%;
	display: block;
	position: relative;
}

.document .icon_stat {
	background: url(http://messenger/maket_css/icon_stat.png);
	width: 40px;
	height: 40px;
	background-size: 100%;
	display: block;
	position: relative;
}

.document span.warning {
	position: absolute;
	margin-top: -50px;
	margin-left: 25px;
}

.document span.warning:after {
	content: "Tooltip text";
	width: 100px;
	height: 40px;
	margin-top: -33px;
	margin-left: 21px;	
	line-height: 40px;
	background: rgba(0, 0, 0, 0.7);
	display: none;
	z-index: 100;
	position: absolute;
}

.document span.warning:before {
	width: 0px;
	height: 0px;
	content: '';
    border-top: 7px solid transparent;
    border-right: 9px solid rgba(0, 0, 0, 0.7);
    border-bottom: 7px solid transparent;
	display: none;
	position: absolute;
	margin-left: 12px;
}

.document span.warning:hover:after {
	display: block;
}

.document span.warning:hover:before {
	display: block;
}

ul.history li {
	overflow: hidden;
	background: #FBA026;
	-webkit-transition-property: background;
	-webkit-transition-duration: 0.5s;
	-webkit-transition-timing-function: ease;
	color: black;
}

ul.history li:hover {
	background: #F37934;
}

ul.history.blue li {
	background: #2969B0;

}

ul.history.blue li:hover {
	background: #2C82C9;
}

ul.history li a {
	color: black;
}

ul.history li:hover a {
	color: white;
}

ul.history li a span.date {
	font-size: 10px;
	margin-right: 10px;
}

ul.history li a span.historyTitle {
	font-size: 13px;
}

ul li a {
	color: white;
	line-height: 50px;
	font-family: "SegoeLight";
	text-decoration: none;
	display: block;
	height: 50px;

}

ul.history+p.more {
	padding: 0 20px;
	height: 50px;
	line-height: 50px;
	font-family: "Segoe";
	text-align: center;
	font-size: 13px;
	cursor: pointer;
	margin: 0;
	-webkit-transition-property: background;
	-webkit-transition-duration: 0.5s;
	-webkit-transition-timing-function: ease;
}

ul.history+p.more:hover {
	background-color: #F37934;
}

.calendar table {
	width: 100%;
	font-family: "SegoeLight";
}

.calendar table th {
	text-align: center;
	height: 40px;
	font-family: "Segoe";
}

.calendar table th a {
	text-decoration: underline;
	color: white;
	width: 30px;
	font-size: 12px;
	font-family: "SegoeLight";
	padding: 5px;
}

.calendar table th a:hover {
	text-decoration: none;
	background-color: #41A85F; 
}

.calendar table td {
	text-align: right;
	height: 35px;
	font-size: 20px;
}

.calendar table td a {
	line-height: 35px;
	text-decoration: none;
	border: none;
	display: block;
	color: white;
	padding: 0 5px;
	-webkit-transition-property: background;
	-webkit-transition-duration: 0.5s;
	-webkit-transition-timing-function: ease;
}

.calendar table td.current a {
	background-color: #41A85F;
}

.calendar table td a:hover {
	background-color: #41A85F;
}

.calendar table td.disabled a {
	color: rgba(255, 255, 255, 0.5);
}

.calendar table td.disabled a:hover {
	background: none;
}

.calendar table td a:hover {
	
}

.calendar table td.remind a {
	border: white solid 1px;
}

p.right {
	text-align: right;
}

.progressBar {
	width: 100%;
	height: 10px;
	background: #61BD6D;
	position: relative;
}

.progressBar:after {
	width: 50%;
	height: 10px;
	content: "";
	position: absolute;
	display: block;
	background: #41A85F;
}

button.link_document {
	border: none;
	outline: none;
	cursor: pointer;
	display: block;
	background: none;
	width: 100%;
	height: 50px;
	padding: 0 10px;
}

button.link_document:hover {
	background-color: #EFEFEF;
}

button.link_document:active {
	width: 96%;
	margin-left: 2%;
	margin-right: 2%;
	height: 45px;
	margin-top: 5px;
}

button.link_document:active span {
	font-size: 17px;
}

button.link_document:active span.icon {
	background-size: 90%;
}

button.link_document span {
	float: left;
	text-align: left;
	font-size: 18px;
	line-height: 40px;
}

button.link_document span.icon {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100%;
	height: 40px;
	width: 40px;
	float: right;
}

button.link_document span.format_pdf {
	background-image: url(http://messenger/maket_css/format_icon_pdf.png);
}

button.link_document span.format_doc {
	background-image: url(http://messenger/maket_css/format_icon_doc.png);
}

button.link_document span.format_xls {
	background-image: url(http://messenger/maket_css/format_icon_xls.png);
}

button.link_document span.format_rar {
	background-image: url(http://messenger/maket_css/format_icon_rar.png);
}

button.link_document span.format_zip {
	background-image: url(http://messenger/maket_css/format_icon_zip.png);
}

button.link_document span.format_txt {
	background-image: url(http://messenger/maket_css/format_icon_txt.png);
}

button.link_document span.format_png {
	background-image: url(http://messenger/maket_css/format_icon_png.png);
}

button.link_document span.format_jpg {
	background-image: url(http://messenger/maket_css/format_icon_jpg.png);
}
